package com.k9101.boothminiapp.entity;

import java.util.Date;

public class Merchants {
    private Integer id;//id
    private String name;//姓名
    private String password;//密码
    private char sex;//性别
    private String identity_Id;//身份证号
    private String phone;//手机号
    private int area_Idint;//区域号
    private int type_Id;//经营类型
    private Date join_Date;//注册时间
    private int status;//商户状态

    public Merchants() {
    }


    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public char getSex() {
        return sex;
    }

    public void setSex(char sex) {
        this.sex = sex;
    }

    public String getIdentity_Id() {
        return identity_Id;
    }

    public void setIdentity_Id(String identity_Id) {
        this.identity_Id = identity_Id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public int getArea_Idint() {
        return area_Idint;
    }

    public void setArea_Idint(int area_Idint) {
        this.area_Idint = area_Idint;
    }

    public int getType_Id() {
        return type_Id;
    }

    public void setType_Id(int type_Id) {
        this.type_Id = type_Id;
    }

    public Date getJoin_Date() {
        return join_Date;
    }

    public void setJoin_Date(Date join_Date) {
        this.join_Date = join_Date;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public int hashCode() {
        return super.hashCode();
    }

    @Override
    public boolean equals(Object obj) {
        return super.equals(obj);
    }

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }

    @Override
    protected void finalize() throws Throwable {
        super.finalize();
    }

    public Merchants(int idint, String namevarchar, String password, char sex, String identity_Id, String phone, int area_Idint, int type_Id, Date join_Date, int status) {

        this.id = idint;
        this.name = namevarchar;
        this.password = password;
        this.sex = sex;
        this.identity_Id = identity_Id;
        this.phone = phone;
        this.area_Idint = area_Idint;
        this.type_Id = type_Id;
        this.join_Date = join_Date;
        this.status = status;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Merchants{" +
                "idint=" + id +
                ", namevarchar='" + name + '\'' +
                ", password='" + password + '\'' +
                ", sex=" + sex +
                ", identity_Id='" + identity_Id + '\'' +
                ", phone='" + phone + '\'' +
                ", area_Idint=" + area_Idint +
                ", type_Id=" + type_Id +
                ", join_Date=" + join_Date +
                ", status=" + status +
                '}';
    }
}
